home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web24 / Tutorial 6 / forms.css < prev    next >
Cascading Style Sheet File  |  2011-04-04  |  912b  |  32 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 6
  4.    Tutorial Case
  5.  
  6.    Web Form Style Sheet
  7.    Author: Jose Puentes
  8.    Date:   4/4/11
  9.  
  10.    Filename:         forms.css
  11.    Supporting Files: none
  12.  
  13. */
  14.  
  15.  fieldset              {margin-bottom: 10px; padding: 10px; background-color: rgb(237,233,223)}
  16.  
  17.  label.blockLabel        {display: block; position: relative; margin: 12px 0px}
  18.  label.blockLabel input        {position: absolute; left: 150px}
  19.  label.indentLabel        {margin-left: 150px}
  20.  
  21.  #donationForm span             {color: red}
  22.  
  23.  #firstName, #lastName, #street    {width: 25em}
  24.  #phone, #city            {width: 10em}
  25.  #state                {width: 3em}
  26.  #zip                {width: 7em}
  27.  
  28.  #addressOptions        {width: 180px; margin-left: 150px}
  29.  #creditCard            {position: absolute; left: 150px}
  30.  #cardHolder, #cardNumber    {width: 25em}
  31.  #expMonth            {position: absolute; left: 150px}
  32.  #expYear            {position: absolute; left: 280px}